package com.rainier.service;

import com.rainier.bean.User;

public interface UserService
{
	//添加用户
	public boolean addUser(User user);
	
	//验证登陆
	public boolean checkUser(User user);
	
	//检查用户名是否存在
	public boolean checkUsername(String username);
	
	//根据用户名获得User
	public User getUserByName(String username);
}
